package com.example.test_demo.test;

import java.util.ArrayList;
import java.util.List;

public class user {
    private String name;
    private String sex;

    public user(String name, String sex) {
        this.name = name;
        this.sex = sex;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void eat(){
        List<String> list = new ArrayList<>();
        list.add( "刘能" );
        list.add( "赵四" );
        list.add(   "谢广坤" );
        list.stream().forEach(ll->{

        });


    }

}
